package com.group5.onlinegame.dao;

import com.group5.onlinegame.entity.User;
import com.group5.onlinegame.entity.UserRole;
import com.group5.onlinegame.entity.Vip;

import java.sql.Timestamp;
import java.util.List;

public interface IUserDao {
    List<User> getUserList(User user);
    int delall(int[] id);
    int countUserByName(String username);
    int delone(int id);
    List<Vip> getVipList();
    int adduser(User user);
    User countUserById(int id);
    int editByid(User user);
    Vip getVipById(Integer id);
    int adduserrole(UserRole userRole);
    int getSeq();
    int editUserRoleById(UserRole userRole);
    List<Timestamp> gettime();
    int onoroff(User user);
}
